﻿@{
    Layout = "~/views/Shared/views_Layout.cshtml";
}
@model FTchinaMVC.Models.Book

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Book</legend>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.BookName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BookName)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Author)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Author)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Publisher)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Publisher)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Price)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Price)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Remark)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Remark)
    </div>
</fieldset>
<p>

    @using (Html.BeginForm())
    {
        <a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-ok'" href="#" onclick="$('form').submit()">删除</a>
        @Html.ActionLink("取消", "Index", null,
                        new Dictionary<string, object>  {   
							{ "class", "easyui-linkbutton" },                             
							{"data-options", "plain:true,iconCls:'icon-undo'"} ,
                            {"title","返回列表"}
                          	})
    }
</p>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    <script src="/Scripts/easyui/jquery.easyui.min.js"></script>
}

